<!DOCTYPE html>
<html class="loading" lang="en">
<head>
    @include('backend::head')
</head>
<body id="app"
      @if(is_object($errors)&&$errors->all())
        data-error="{{$errors->first()}}"
      @elseif(is_string($errors))
        data-error="{{$errors}}"
      @endif
>
<div class="d-flex flex-column fixed-bottom h-100" style="z-index: 1;">
    <header class="frame-top-body text-light flex-shrink-0">
        @include('backend::public.header')
    </header>
    <section class="d-flex flex-row flex-grow-1" style="height:calc(100% - 50px);">
        <div class="frame-left-body align-self-start flex-shrink-0" id="left-menu">
             @include('backend::public.left_menu')
        </div>
        <div class="frame-right-body d-flex flex-column flex-grow-1 overflow-auto">
            @section('frame')
                <div class="breadcrumb mb-0 w-100 d-flex flex-row hcl-breadcrumb flex-shrink-0">
                    <div class="px-2 flex-grow-1 align-self-center" style="border-left: 3px solid grey">{{$page_title ?? ''}}</div>
                    <div class="align-self-center">
                        <a class="btn btn-outline-info btn-xs mr-5" href="javascript:history.go(-1);">
                            <i class="hcl hcl-bl font-weight-bold mr-2"></i>返回
                        </a>
                    </div>
                </div>
                <div class="flex-grow-1  pt-3 h-100" style="overflow-y: auto;">
                   <div class="container-fluid app-content pb-5"> @yield('content')</div>
                </div>
            @show
        </div>
    </section>
</div>
</body>
    @include('backend::foot')
</html>